package zju.lzy.dto;

import lombok.Data;

/**
 * @author lzy
 */
@Data
public class Device {
    Integer deviceId;
    Integer ownerId;
    String clientPrefix;
    String topic;
    int qos;
    double initLat;
    double initLon;
    boolean isActive;
    String feature;

    public Device(Integer deviceId, Integer ownerId, String clientPrefix, String topic, int qos, double initLat, double initLon, boolean isActive) {
        this.deviceId = deviceId;
        this.ownerId = ownerId;
        this.clientPrefix = clientPrefix;
        this.topic = topic;
        this.qos = qos;
        this.initLat = initLat;
        this.initLon = initLon;
        this.isActive = isActive;
    }

    public Device() {
    }
}


